package main

import "fmt"



func main() {
	ch:=make(chan string)
	defer fmt.Print("main...主协程结束")
	go func (){
		defer fmt.Println("zi,.,调用结束")
		for i:=0;i<5 ;i++  {
			fmt.Println("zi....")
		}
		ch<-"我是子协程，工作完毕"
	}()

	str:=<-ch
	fmt.Println(str)
}
